//
//  NSProgressIndicator+Extension.swift
//  AutoModel
//
//  Created by 好米有易 on 2019/9/12.
//  Copyright © 2019 own. All rights reserved.
//

import Cocoa

extension NSProgressIndicator {


    func startAnimation() {
        
        self.isHidden = false
        self.startAnimation(nil)
    }

    func stopAnimation() {
        self.stopAnimation(nil)
        self.isHidden = true
    }
    
}
